package com.workcell.workdata.xthings.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.workcell.workdata.xthings.dto.BaseFlowmeterVo;
import com.workcell.workdata.xthings.entity.BaseFlowmeter;

/**
 * 流量计型号
 *
 * @author 廖博文
 * @date 2022-11-28 10:15:50
 */
public interface BaseFlowmeterService extends IService<BaseFlowmeter> {

	/**
	 * 模糊查询分页
	 * @param baseFlowmeterVo
	 * @return
	 */
	Page<BaseFlowmeter> getBaseFlowmeterVaguePage(BaseFlowmeterVo baseFlowmeterVo);

	/**
	 * 修改流量计型号信息：此方法不能修改状态
	 * @param baseFlowmeter
	 * @return
	 */
	Boolean updateBaseFlowmeter(BaseFlowmeter baseFlowmeter);

	/**
	 * 修改流量计型号信息状态
	 * @param baseFlowmeter
	 * @return
	 */
	Boolean updateStateById(BaseFlowmeter baseFlowmeter);

	/**
	 * 删除流量计型号信息
	 * @param fmId
	 * @return
	 */
	Boolean delBaseFlowmeterById(String fmId);

}
